<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>内部JavaScript脚本</title>
    <script type="text/javascript">
        alert("head中的JavaScript")
    </script>
</head>
<body>
<script type="text/javascript">
    alert("body中的JavaScript")
</script>
</body>
</html>